From 17a64e88414a61fa1c007fcc30438ed208a79ec9 Mon Sep 17 00:00:00 2001 From: Marek Kasik Date: Thu, 16 Oct 2008 11:20:33 +0000 Subject: [PATCH] Bug 556527 - The current page property is not passed to GtkPrintUnixDialog 2008-10-16 Marek Kasik Bug 556527 - The current page property is not passed to GtkPrintUnixDialog * gtk/gtkprintoperation-unix.c: pass current-page property to GtkPrintUnixDialog svn path=/trunk/; revision=21660 --- ChangeLog | 8 ++++++++ gtk/gtkprintoperation-unix.c | 3 +++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 62ecea9db8..95bc68ac7b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-10-16 Marek Kasik + + Bug 556527 - The current page property is not passed to + GtkPrintUnixDialog + + * gtk/gtkprintoperation-unix.c: pass current-page property + to GtkPrintUnixDialog + 2008-10-15 Michael Natterer * gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c index 3a4545acd9..99e047e419 100644 --- a/gtk/gtkprintoperation-unix.c +++ b/gtk/gtkprintoperation-unix.c @@ -367,6 +367,9 @@ get_print_dialog (GtkPrintOperation *op, gtk_print_unix_dialog_set_page_setup (GTK_PRINT_UNIX_DIALOG (pd), priv->default_page_setup); + gtk_print_unix_dialog_set_current_page (GTK_PRINT_UNIX_DIALOG (pd), + priv->current_page); + g_signal_emit_by_name (op, "create-custom-widget", &priv->custom_widget); -- 2.30.2